package com.dog.basics.bean.dto.admin.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 * 医院费用
 * </p>
 *
 * @author wph
 * @since 2020-09-29
 */
@Data
public class HospitalCostAddDto {

    /**
     * 医院标识
     */
    @NotNull(message = "医院标识不能为空")
    @ApiModelProperty(value = "医院标识", dataType = "Long", required = true)
    private Long deviceHospitalId;

    /**
     * 设备类型 : 0-轮椅 1-平推车 2-陪护床
     */
    @NotNull(message = "设备类型不能为空")
    @ApiModelProperty(value = "设备类型 : 0-轮椅 1-平推车 2-陪护床", dataType = "Integer", required = true)
    @Min(value = 0, message = "设备类型只能是:(轮椅丶平推车丶陪护床)")
    @Max(value = 2, message = "设备类型只能是:(轮椅丶平推车丶陪护床)")
    private Integer wheeType;

    /**
     * 优惠时长 (分钟)
     */
    @NotNull(message = "优惠时长 (分钟)不能为空")
    @ApiModelProperty(value = "优惠时长 (分钟)", dataType = "Integer", required = true)
    private Integer costDiscountDuration;

    /**
     * 优惠时长金额 (元)
     */
    @NotNull(message = "优惠时长金额 (元)不能为空")
    @ApiModelProperty(value = "优惠时长金额 (元)", dataType = "BigDecimal", required = true)
    private BigDecimal costDiscountMoney;

    /**
     * 正常时长  (分钟)
     */
    @NotNull(message = "正常时长 (分钟)不能为空")
    @ApiModelProperty(value = "正常时长 (分钟)", dataType = "Integer", required = true)
    private Integer costNormalDuration;

    /**
     * 正常时长金额  (元)
     */
    @NotNull(message = "正常时长金额 (元)不能为空")
    @ApiModelProperty(value = "正常时长金额 (元)", dataType = "BigDecimal", required = true)
    private BigDecimal costNormalMoney;

    /**
     * 日封顶费用 (元)
     */
    @NotNull(message = "日封顶费用 (元)不能为空")
    @ApiModelProperty(value = "日封顶费用 (元)", dataType = "BigDecimal", required = true)
    private BigDecimal costDailyCapMoney;
    /**
     * 设备押金
     */
    @NotNull(message = "设备押金不能为空")
    @ApiModelProperty(value = "设备押金 (元)", dataType = "BigDecimal", required = true)
    @Min(value = 0,message = "设备押金不能小于:0")
    @Max(value = 9999999,message = "设备押金不能大于:9999999")
    private BigDecimal costWheelchairDeposit;

}
